package com.lin.factory;

import java.util.ArrayList;
import java.util.List;

/**
 * 工厂制造的产品
 * @author linfenliang
 *
 */
abstract class Pizza {
	String name;
	/**面团*/
	Dough dough;
	/**酱料*/
	Sauce sauce;
	Cheese cheese;
	Veggies[] veggies;
	Pepperoni pepperoni;
	Clams clams;
	
	abstract void prepare();
	void bake(){
		System.out.println("Bake for 25 minutes at 350℃");
	}
	void cut(){
		System.out.println("Cutting the pizza into diagonal slices");
	}
	void box(){
		System.out.println("Place pizza in offical PizzaStore box");
	}
	String getName(){
		return this.name;
	}
	
	
	

}
